<div class="sample-title">Samples list</div>

<ul>
  <?php foreach ($available_samples as $sample): ?>
    <li><?php echo link_to('<span class="link-to-sample">'.$sample['name'].'</span> : '.$sample['message'], $sample['url']) ?></li>
  <?php endforeach; ?>
</ul>

<?php if (!$sf_user->isAuthenticated()): ?>
<form action="<?php echo url_for('/login') ?>" method="POST">
  <table>
    <?php echo $signin ?>
    <tr>
      <td colspan="2">
        <input type="submit" />
      </td>
    </tr>
  </table>
</form>
<?php endif ?>
<?php echo link_to('Logout', 'sf_guard_signout') ?>
